<?php
/**
 * Created by PhpStorm.
 * User: wugang
 * Date: 2017/11/25
 * Time: 下午5:35
 */

namespace App\Models;


use Illuminate\Database\Eloquent\Model;


/**
 * App\Models\User
 *
 * @property int $id ID
 * @property string $name 名称
 * @property string $open_id 年龄
 * @property string $head_img_url
 * @property string|null $session_code
 * @property string $token 用户token
 * @property \Carbon\Carbon $created_at 添加时间
 * @property \Carbon\Carbon $updated_at 更新时间
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User whereHeadImgUrl($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User whereOpenId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User whereSessionCode($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User whereToken($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User whereUpdatedAt($value)
 * @mixin \Eloquent
 */
class User extends Model
{

    protected $table = 'hackathon.user';

    protected $hidden = ['session_code','open_id','created_at','updated_at'];

}